<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Resolve</title>
</head>
<body>

<script>
  const result1 = Promise.resolve(1)
  console.log('result1',result1)

  const result2 = Promise.resolve(new Promise((resolve, reject)=>{

    reject()

  }))

  console.log('result2',result2)


</script>

</body>
</html>